@extends('frontend/layouts/default')

@section('content')

<h1>Create Car Maker</h1>

{{ Form::open(array('route' => 'car_balance.carmaker.store')) }}
	<input title="Id" name="id" type="hidden" value="0">
<div class="row-fluid">
<div  class="span3 control-group {{ $errors->first('name', ' error') }}">
	<label class="control-label" for="name">Name</label>
	<input class="input-block-level" placeholder="Name" title="Name" name="name" type="text" value="{{ Input::old('name') }}">
	{{ $errors->first('name', '<span class="help-block">:message</span>') }}
</div>
<div  class="span3 control-group {{ $errors->first('node_parent', ' error') }}">
	<label class="control-label" for="node_parent">Node_parent</label>
	<input class="input-block-level" placeholder="Node_parent" title="Node_parent" name="node_parent" type="number" value="{{ Input::old('node_parent') }}">
	{{ $errors->first('node_parent', '<span class="help-block">:message</span>') }}
</div>
<div  class="span3 control-group {{ $errors->first('name2', ' error') }}">
	<label class="control-label" for="name2">Name2</label>
	<input class="input-block-level" placeholder="Name2" title="Name2" name="name2" type="text" value="{{ Input::old('name2') }}">
	{{ $errors->first('name2', '<span class="help-block">:message</span>') }}
</div>
<div  class="span3 control-group {{ $errors->first('code', ' error') }}">
	<label class="control-label" for="code">Code</label>
	<input class="input-block-level" placeholder="Code" title="Code" name="code" type="text" value="{{ Input::old('code') }}">
	{{ $errors->first('code', '<span class="help-block">:message</span>') }}
</div>
</div>

<div>
    {{ Form::submit('Submit', array('class' => 'btn btn-info')) }} &nbsp;&nbsp;
	{{ link_to_route('car_balance.carmaker.index', 'Cancel', null, array('class' => 'btn ')) }}
</div>
{{ Form::close() }}

@stop


